<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <title>国内折扣</title>
    <link rel="stylesheet" href="../../css/guoneizhekou/header.css"/>
    <link rel="stylesheet" href="../../css/guoneizhekou/guoneizhekou.css"/>
    <link rel="stylesheet" href="../../lib/bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" href="../../css/base.css"/>
    <script src="../../lib/jquery/jquery.js"></script>
    <script src="../../lib/artTemplate-3.0.1/template.js"></script>
    <script src="../../lib/jquery_lazyload-1.9.5/jquery.lazyload.min.js"></script>
    <script src="../../js/guoneizhekou/guoneizhekou.js"></script>

</head>

<body>

<layout>
    <!--头部制作-->
    <div class="head" id="top">
        <div class="back">
            <a href="../../index.html" class="glyphicon glyphicon-menu-left"></a>
        </div>
        <div class="home">
            <a href="http://m.manmanbuy.com/?o=download"></a>
        </div>
        <h1>国内折扣</h1>
    </div>
    <!--头部制作完成-->
    <!--主体部分-->
    <div>
        <ul id="gnzk-box" class="clearfix">
            <!--主体部分的坑-->
        </ul>
    </div>
    <!--主体部分制作完成-->

    <!--底部-->
    <div class="footer"></div>
    <div class="footer-1">
        <a href="../../index.html">首页></a> <span>商品促销</span>
    </div>
    <div class="footer-2">
        <div class="row">
            <div class="col-xs-4"><a href="../home/login.html">登陆</a></div>
            <div class="col-xs-4"><a href="#">注册</a></div>
            <div class="col-xs-4">
                <a href="#top">
                    <i class="glyphicon glyphicon-arrow-up"></i>
                返回顶部
                </a>
            </div>
        </div>
    </div>
</layout>

<!--页面部分的模板-->
<script id="gnzk-tpl" type="text/template">

    {{ each result as val i}}

        <li>

            <a href="xiangqing.html?productId={{val.productId}}">

                <div class="img">

                    {{ if i < 6}}

                        {{ #val.productImg}}

                    {{ else }}

                    {{ #val.productImg | imgFormat }}

                    {{ /if}}

                </div>

                <div class="title">

                    {{ val.productName }}

                </div>

                <div class="subtit">

                    {{ val.productPrice }}

                </div>

                <div class="info">

                    <div class="mall">

                        {{ val.productTime }}

                    </div>

                </div>

            </a>

        </li>

    {{ /each }}

</script>
</body>
</html>